<?php
/**
 * gcFramework
 *
 * Development framework for PHP 5 or newer
 *
 * @package		gcFramework
 * @author		Adam Martin
 * @copyright	Copyright (c) 2006
 * @license		http://www.gcFramework.com/web/license.html
 * @link		http://www.gcFramework.com
 * @since		Version 1.0
 */
 
 //instantiate class
 $email = new email;
 
 class email {
 	
 	public function send($to, $subject, $message, $format='text'){
 			global $gcValidate;
 			$emailcheck = $gcValidate->email($to);
 			if(!$emailcheck){
 				dispayError("Couldn't send email to you");
 			}
 			return;
 	}
 		
 }
?>
